<template>
  <a-tabs v-model:activeKey="activeKey" @tabClick="onTabClick">
    <slot></slot>
  </a-tabs>
</template>

<script lang="ts" setup>
import { ref } from 'vue';
import { Tabs } from 'ant-design-vue';



    const activeKey = ref('1'); // 默认激活第一个 Tab

    const onTabClick = (key: string) => {
      activeKey.value = key;
    

   
  }


</script>

<style scoped>

</style>
